package com.kx.yooli.kx.wechat.entity.nplm;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import org.apache.poi.hpsf.Decimal;
import org.checkerframework.checker.units.qual.C;

import java.util.Date;

@Table(value = "NPLM_LOAN_CONTRACT",dataSource = "dh")
public class LoanContractEntity {
    @Id(value = "ID")
    private String id;
    @Column(value = "LOAN_NO")
    private String loanNo;
    @Column(value = "CUST_NO")
    private String custNo;
    @Column(value = "CUST_NAME")
    private String custName;
    @Column(value = "CUST_BANK_INFO_ID")
    private String custBankInfoId;
    @Column(value = "ECIF_ID")
    private String ecifId;
    @Column(value = "PRO_CATEGORY_NAME")
    private String proCategoryName;
    @Column(value = "LOAN_INSTALMENTS")
    private int loanInstalments;
    @Column(value = "LOAN_AMOUNT")
    private int loanAmount;
    @Column(value = "PUT_AMOUNT")
    private int putAmount;
    @Column(value = "CONTRACT_STATUS")
    private String contractStatus;
    @Column(value = "CLEAR_TIME")
    private Date clearTime;
    @Column(value = "SUB_CHANNEL")
    private String subChannel;

    public Date getClearTime() {
        return clearTime;
    }

    public void setClearTime(Date clearTime) {
        this.clearTime = clearTime;
    }

    public LoanContractEntity() {
    }

    public String getSubChannel() {
        return subChannel;
    }

    public void setSubChannel(String subChannel) {
        this.subChannel = subChannel;
    }

    public LoanContractEntity(String id, String loanNo, String custNo, String custName, String custBankInfoId, String ecifId,
                              String proCategoryName, int loanInstalments, int loanAmount, int putAmount, String contractStatus, Date clearTime, String subChannel) {
        this.id = id;
        this.loanNo = loanNo;
        this.custNo = custNo;
        this.custName = custName;
        this.custBankInfoId = custBankInfoId;
        this.ecifId = ecifId;
        this.proCategoryName = proCategoryName;
        this.loanInstalments = loanInstalments;
        this.loanAmount = loanAmount;
        this.putAmount = putAmount;
        this.contractStatus = contractStatus;
        this.clearTime = clearTime;
        this.subChannel= subChannel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLoanNo() {
        return loanNo;
    }

    public void setLoanNo(String loanNo) {
        this.loanNo = loanNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustBankInfoId() {
        return custBankInfoId;
    }

    public void setCustBankInfoId(String custBankInfoId) {
        this.custBankInfoId = custBankInfoId;
    }

    public String getEcifId() {
        return ecifId;
    }

    public void setEcifId(String ecifId) {
        this.ecifId = ecifId;
    }

    public String getProCategoryName() {
        return proCategoryName;
    }

    public void setProCategoryName(String proCategoryName) {
        this.proCategoryName = proCategoryName;
    }

    public int getLoanInstalments() {
        return loanInstalments;
    }

    public void setLoanInstalments(int loanInstalments) {
        this.loanInstalments = loanInstalments;
    }

    public int getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(int loanAmount) {
        this.loanAmount = loanAmount;
    }

    public int getPutAmount() {
        return putAmount;
    }

    public void setPutAmount(int putAmount) {
        this.putAmount = putAmount;
    }

    public String getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(String contractStatus) {
        this.contractStatus = contractStatus;
    }

    @Override
    public String toString() {
        return "LoanContractEntity{" +
                "id='" + id + '\'' +
                ", loanNo='" + loanNo + '\'' +
                ", custNo='" + custNo + '\'' +
                ", custName='" + custName + '\'' +
                ", custBankInfoId='" + custBankInfoId + '\'' +
                ", ecifId='" + ecifId + '\'' +
                ", proCategoryName='" + proCategoryName + '\'' +
                ", loanInstalments=" + loanInstalments +
                ", loanAmount=" + loanAmount +
                ", putAmount=" + putAmount +
                ", repayStatus='" + contractStatus + '\'' +
                '}';
    }
}
